package com.dios.mirage;

import net.rim.device.api.ui.UiApplication;

import com.dios.mirage.screen.FirstScreen;

/**
 * This class extends the UiApplication class, providing a graphical user
 * interface.
 */
public class Mirage extends UiApplication {
	/**
	 * Entry point for application
	 * 
	 * @param args
	 *            Command line arguments (not used)
	 */
	public static final String TITLE = "Mitsubishi Mirage - ";
	private static FirstScreen screen;
	
	public static void main(String[] args) {
		// Create a new instance of the application and make the currently
		// running thread the application's event dispatch thread.
		Mirage theApp = new Mirage();
		theApp.enterEventDispatcher();

	}

	/**
	 * Creates a new Mirage object
	 */
	public Mirage() {
		screen = new FirstScreen("Home");
		pushScreen(screen);
	}

	public static FirstScreen getScreen(){
		return screen;
	}
	
}
